﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>接口规范</title>
</head>
<body>
    接口规范说明（仅供内部使用，请勿外传）<br />

    <h4>一、品牌</h4>
    <br />
    <b>1.1、获取品牌</b><br />
    <br />
    方法名：/team/GetBrand<br />
    <br />

    请求参数：无<br />
    <br />

    返回结果：{"ID":1,"Title":"关于我们","Content":"<p>全球钻石公司简介“以史为鉴，可以知兴替”，不同经济时代伟大品牌的兴衰史告诉我们：一个伟大的品牌的崛起，往往在于其品牌精神与整体性时代精神及消费者深层需求... </p>","SmallImg":"/images/web/about_tu2.jpg","ImgUrl":null,"AddTime":"2018-03-15T17:11:20"}<br />
    <br />

    <b>1.2、品牌编辑</b><br />
    <br />
    方法名：/team/EditBrand<br />
    <br />

    请求参数：{\"ID\":1,\"Title\":\"关于我们2\",\"Content\":\"<p>2全球钻石公司简介“以史为鉴，可以知兴替”，不同经济时代伟大品牌的兴衰史告诉我们：一个伟大的品牌的崛起，往往在于其品牌精神与整体性时代精神及消费者深层需求... </p>\",\"SmallImg\":\"/images/web/about_tu2111.jpg\",\"ImgUrl\":null}<br />
    <br />

    返回结果：{"msgcode":true,"msginfo":"更新品牌信息成功"}<br />
     <br />
    <br />

    <h4>二、新闻或常见问题</h4>
    <br />
    <b>2.1、获取列表</b><br />
    <br />
    方法名：/team/GetArticles<br />
    <br />

    请求参数：{\"ArticlesTypeID\":1}   ///0 公司新闻 1 行业新闻 2 常见问题
<br />
    <br />

    返回结果：{"msgcode":true,"msginfo":[{"ID":2,"ArticlesTypeID":1,"Title":"行业新闻2","Content":"行业新闻行2业新闻","IssueTime":"2018-03-17T15:42:56","IsEnable":true,"Sort":1,"Comment":"行221业新闻行业新闻","AddTime":"2018-03-16T15:43:47"},{"ID":3,"ArticlesTypeID":1,"Title":"行业新闻2","Content":"行业新闻2行业新闻","IssueTime":"2018-03-16T15:42:56","IsEnable":true,"Sort":2,"Comment":"行1业新闻行业新闻","AddTime":"2018-03-16T15:43:47"}]}<br />
    <br />

    <b>2.2、编辑新闻或常见问题条目</b><br />
    <br />
    方法名：/team/EditArticles<br />
    <br />

    请求参数：{\"ID\":2,\"ArticlesTypeID\":2,\"Title\":\"行业新闻2\",\"Content\":\"行业新闻行2业新闻\",\"IssueTime\":\"2018-03-17T15:42:56\",\"IsEnable\":true,\"Sort\":11,\"Comment\":\"行221业新闻行业新闻\",\"AddTime\":\"2018-03-16T15:43:47\"}
    <br />
    <br />

    返回结果：{"msgcode":true,"msginfo":"更新常见问题成功"}<br />
    <br />
     <br />

    <b>2.3、新增新闻或常见问题条目</b><br />
    <br />
    方法名：/team/AddArticles<br />
    <br />

    请求参数：{"ArticlesTypeID":1,"Title":"行业新闻2","Content":"行业新闻行2业新闻","IssueTime":"2018-03-17T15:42:56","IsEnable":true,"Sort":1,"Comment":"行221业新闻行业新闻"}
    <br />
    <br />

    返回结果：{"msgcode":true,"msginfo":"新增行业新闻成功"}<br />
    <br />
    
    <h4>三、获取到店客户列表</h4>
    <br />
 
    <br />
    方法名：/team/GetAppointment<br />
    <br />

    请求参数：无<br />
    <br />

    返回结果：{"msgcode":true,"msginfo":[{"ID":1,"Name":"测试1","Tel":"13188888888","ArriveTime":"2018-03-17T17:02:51","Remark":"明天下午","AddTime":"2018-03-15T17:12:05"},{"ID":2,"Name":"测试2","Tel":"13588888888","ArriveTime":"2018-03-18T17:02:51","Remark":"后天下午","AddTime":"2018-03-15T17:12:05"},{"ID":3,"Name":"测试3","Tel":"13688888888","ArriveTime":"2018-03-19T17:02:51","Remark":"大后天下午","AddTime":"2018-03-15T17:12:05"}]}<br />
    <br />

     
    <br />
</body>
</html>
